﻿/*
    Copyright Multi-Soft co.2009 
*/

using System;
using System.IO;

namespace Rmlife.Config
{
    /// <summary>
    /// 基本配置信息类
    /// </summary>
    public class WebConfigs
    {
        /// <summary>
        /// 全平台路径分隔符
        /// </summary>
        public static char SparatorChar = Path.AltDirectorySeparatorChar;

        #region 路径
        public struct Paths
        {
            /// <summary>
            /// 数据文件配置目录
            /// </summary>
            public static string DataRoot = BaseConfigs.GetSitePath + "App_Data" + SparatorChar;
           
            /// <summary>
            /// 上传文件配置目录
            /// </summary>
            public static string UploadRoot = BaseConfigs.GetSitePath + "App_Upload" + SparatorChar;
            /// <summary>
            /// 缓存文件配置目录
            /// </summary>
            public static string CacheRoot = UploadRoot + "Cache" + SparatorChar;
        }
        #endregion
    }
}
